Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PM-12729] Add QA flag to circumvent minimum client version to retreive ssh key ciphers #5005

Merged
merged 3 commits into from
Nov 20, 2024

Conversation

quexten
Copy link
Contributor

@quexten quexten commented Nov 8, 2024

🎟️ Tracking

https://bitwarden.atlassian.net/browse/PM-12729

📔 Objective

Add a feature flag (server side only) to override the ssh key cipher version check for QA testing, since QA clients are on 2024.11.x but we only want 2024.12.x and onward to receive these ciphers in production.

This will only be enabled on dev/qa instances, never prod, and removed in ~2 releases

📸 Screenshots

⏰ Reminders before review

  • Contributor guidelines followed
  • All formatters and local linters executed and passed
  • Written new unit and / or integration tests where applicable
  • Protected functional changes with optionality (feature flags)
  • Used internationalization (i18n) for all UI strings
  • CI builds passed
  • Communicated to DevOps any deployment requirements
  • Updated any necessary documentation (Confluence, contributing docs) or informed the documentation team

🦮 Reviewer guidelines

  • 👍 (:+1:) or similar for great changes
  • 📝 (:memo:) or ℹ️ (:information_source:) for notes or general info
  • ❓ (:question:) for questions
  • 🤔 (:thinking:) or 💭 (:thought_balloon:) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion
  • 🎨 (:art:) for suggestions / improvements
  • ❌ (:x:) or ⚠️ (:warning:) for more significant problems or concerns needing attention
  • 🌱 (:seedling:) or ♻️ (:recycle:) for future improvements or indications of technical debt
  • ⛏ (:pick:) for minor or nitpick changes

@quexten quexten requested a review from a team as a code owner November 8, 2024 10:32
@quexten quexten requested a review from Jingo88 November 8, 2024 10:32
@quexten quexten changed the title [PM-12729] Add QA flag [PM-12729] Add QA flag to circumvent minimum client version to retreive ssh key ciphers Nov 8, 2024
Copy link

codecov bot commented Nov 8, 2024

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 43.06%. Comparing base (5166085) to head (e9ec737).
Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
src/Api/Vault/Controllers/SyncController.cs 0.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5005   +/-   ##
=======================================
  Coverage   43.06%   43.06%           
=======================================
  Files        1412     1412           
  Lines       64775    64775           
  Branches     5920     5920           
=======================================
  Hits        27894    27894           
  Misses      35649    35649           
  Partials     1232     1232           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

Copy link
Contributor

github-actions bot commented Nov 8, 2024

Logo
Checkmarx One – Scan Summary & Details54c57c32-c899-4602-90dc-17301b912b27

New Issues

Severity Issue Source File / Package Checkmarx Insight
MEDIUM CSRF /src/Api/Auth/Controllers/TwoFactorController.cs: 258 Attack Vector
MEDIUM Missing_HSTS_Header /src/Admin/Views/Home/Index.cshtml: 14 Attack Vector
LOW Log_Forging /src/Api/AdminConsole/Controllers/OrganizationUsersController.cs: 455 Attack Vector
LOW Log_Forging /src/Api/Auth/Controllers/TwoFactorController.cs: 406 Attack Vector
LOW Log_Forging /src/Api/AdminConsole/Controllers/OrganizationsController.cs: 402 Attack Vector
LOW Log_Forging /src/Api/AdminConsole/Controllers/OrganizationsController.cs: 339 Attack Vector
LOW Missing_CSP_Header /src/Core/MailTemplates/Handlebars/FamiliesForEnterprise/FamiliesForEnterpriseRemovedFromFamilyUser.html.hbs: 5 Attack Vector

Fixed Issues

Severity Issue Source File / Package
MEDIUM CSRF /src/Api/AdminConsole/Controllers/PoliciesController.cs: 68
MEDIUM CSRF /src/Api/AdminConsole/Controllers/OrganizationUsersController.cs: 106
MEDIUM CSRF /src/Api/AdminConsole/Controllers/GroupsController.cs: 81
MEDIUM CSRF /src/Api/AdminConsole/Controllers/OrganizationUsersController.cs: 238
MEDIUM CSRF /src/Admin/AdminConsole/Controllers/OrganizationsController.cs: 372
MEDIUM CSRF /src/Api/AdminConsole/Controllers/GroupsController.cs: 81
MEDIUM CSRF /src/Api/AdminConsole/Controllers/GroupsController.cs: 131
MEDIUM CSRF /src/Api/AdminConsole/Controllers/OrganizationsController.cs: 122
MEDIUM CSRF /src/Api/AdminConsole/Controllers/OrganizationUsersController.cs: 362
MEDIUM CSRF /src/Api/AdminConsole/Controllers/PoliciesController.cs: 89
MEDIUM CSRF /src/Api/AdminConsole/Controllers/PoliciesController.cs: 159
MEDIUM CSRF /src/Api/AdminConsole/Public/Controllers/PoliciesController.cs: 42
MEDIUM CSRF /src/Api/AdminConsole/Public/Controllers/PoliciesController.cs: 61
MEDIUM CSRF /src/Api/Billing/Controllers/OrganizationSponsorshipsController.cs: 77
MEDIUM CSRF /src/Api/Billing/Controllers/OrganizationSponsorshipsController.cs: 163
LOW Log_Forging /src/Api/AdminConsole/Controllers/ProvidersController.cs: 72
LOW Log_Forging /src/Api/AdminConsole/Controllers/ProvidersController.cs: 72
LOW Log_Forging /src/Api/AdminConsole/Controllers/ProvidersController.cs: 72

Copy link
Contributor

LaunchDarkly flag references

🔍 1 flag added or modified

Name Key Aliases found Info
ssh-version-check-qa-override ssh-version-check-qa-override

@quexten quexten enabled auto-merge (squash) November 20, 2024 18:00
@quexten quexten merged commit eb20adb into main Nov 20, 2024
52 checks passed
@quexten quexten deleted the feature/ssh-keys-qa-flag branch November 20, 2024 18:24
vgrassia pushed a commit to vgrassia/server that referenced this pull request Nov 21, 2024
Co-authored-by: Matt Bishop <[email protected]>
Co-authored-by: aj-bw <[email protected]>
vgrassia pushed a commit to vgrassia/server that referenced this pull request Nov 21, 2024
Co-authored-by: Matt Bishop <[email protected]>
Co-authored-by: aj-bw <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants